import { get,post } from "../request";

const room = {
    queryAllRoomsByHotelId(hotelId){
        return get('/rooms/queryAllRoomsByHotelId',hotelId)
    },
    // 管理员
    queryByPage(pageDto){
        return post('/rooms/queryByPage',pageDto)
    },
    deleteById(roomId){
        return get('/rooms/deleteById',roomId)
    },
}

export default room;